:root {
    overflow-y: hidden;
    overflow-x: hidden;
}

.background {
    width: 100%;
    height: 100vh;
    background-color: #5845C0;
}

.inner {
    width: 1200px;
    height: 700px;
    margin: 0 auto;
    /* background-color: rgb(188, 189, 188); */
    position: relative;
}

.stars-pic {
    width: 100%;
    height: 100%;
    position: absolute;
}

.jump-game {
    width: 800px;
    height: 280px;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

.jump-man {
    width: 45px;
    height: 80px;
    position: absolute;
    top: 200px;
    left: 60px;
}

.jump-road {
    width: 800px;
    height: 2px;
    background-color: white;
    position: absolute;
    top: 278px;
}

.score {
    width: 120px;
    height: 100px;
    font-size: 26px;
    color: white;
    opacity: 0.7;
    position: relative;
    top: 100px;
    left: 650px;
}

.block {
    background-color: white;
    position: absolute;
    left: 800px;
}

.block:nth-child(1) {
    top: 260px;
    width: 20px;
    height: 20px;
}

.block:nth-child(2) {
    top: 240px;
    width: 20px;
    height: 40px;
}

.block:nth-child(3) {
    top: 250px;
    width: 20px;
    height: 30px;
}

.block:nth-child(4) {
    top: 230px;
    width: 20px;
    height: 50px;
}

.block:nth-child(5) {
    top: 80px;
    width: 20px;
    height: 40px;
}

.block:nth-child(6) {
    top: 80px;
    width: 20px;
    height: 30px;
}


#restart {
    width: 160px;
    height: 60px;
    line-height: 50px;
    border-radius: 30px;
    margin: 0 auto;
    font-size: 20px;
    font-weight: bold;
    color: rgb(84, 163, 181);
    background-color: transparent;
    border: 5px solid rgb(84, 163, 181);
    position: absolute;
    top: 150px;
    left: 530px;
    cursor: pointer;
    /* display: none; */
}

.text p {
    font-family: ArialMT-;
    color: white;
    margin-left: 200px;
    margin-bottom: 20px;
}

.text p:nth-child(1) {
    font-size: 80px;
    margin-top: 20px;
}

.text p:nth-child(2) {
    font-size: 40px;
}

.text p:nth-child(3) {
    font-size: 36px;
}

.back {
    position: relative;
    left: 200px;
    animation: allMove 5s infinite linear;
    cursor: pointer;
}

@keyframes allMove {
    25%{
        transform: translateX(-8px) translateY(-5px);
    }
    50%{
        transform: translateX(-16px) translateY(0px);
        transform: scale(0.98);
    }
    75%{
        transform: translateX(-8px) translateY(5px);
    }
    100%{
        transform: translateX(0px) translateY(0px);
    }
}

.back p{
    position: absolute;
    top: 79px;
    left: 40px;
    z-index: 1;
    font-size: 20px;
    color: #5845C0;
}

.rocket {
    position: absolute;
}

.fire1{
    position: absolute;
    top: 49px;
    left: 170px;
    animation: fireOn 4s infinite ease-in-out;
}

.fire2{
    position: absolute;
    top: 81px;
    left: 170px;
    animation: fireOn 4s 1s infinite ease-in-out;
}

@keyframes fireOn {
    /* 0%,100%{
        transform: scale(1.1);
    } */
    50%{
        transform: scale(0.8);
    }
}

.plante{
    position: absolute;
    top: 300px;
    left: 850px;
    animation: allMove 5s 2s infinite linear;
}






